import { Application } from 'pixi.js'
import { getScreenSize } from './utils'
const { width, height } = getScreenSize()
export const game = new Application({
  width,
  height
})

const bodyStyle = `display: flex; justify-content: center;`

document.body.append(game.view)
document.body.style = bodyStyle

export function getRootContainer() {
  return game.stage
}